{HTMLHeader}
<title>{GlobalTitle}</title>
</head>
<body>
<!-- *START* Header Area ** -->
	{Header}
	<!-- *END* Header Area ** -->
<div id='container'>
	
	
	<!-- *START* Main Area ** -->
	<div id='main'>
		<div class='search_left'>
			<div id='classify' style="z-index:2">
				<div class='title_bar'><span class='blue_type'>{sMerchantType}</span></div>
				<ul id='bustype_ul'>
				<!-- BEGIN optMenu -->
   					<li id='{pid}'><a href='{parentLink}' class='{tabClass}'>{sortList}</a></li>
   				<!-- END optMenu -->
   				</ul>
   				<!-- BEGIN subMenu -->
   				<div id='subBusType-{parenid}' style='display:none'>
   					<div id='subTypetitle'>{subType}<img src='{domainPath}/images/close.jpg' id='close' onClick="$('#classify').find('div[id^=subBusType-]').hide();"></div>
   					{subBusTypeTable}
   				</div>
   				<!-- END subMenu -->
			</div>
			
			<div id='ranking'>
				<div class='title_bar'><span class='curr_tag'>{sHighClick}</span><span>{sFollow}</span><img src='{domainPath}/img/s-004.png'></img></div>
				<table cellspacing='5' id='buslist' width='100%'>
   						{highHits}
   				</table>
   				
   				<table cellspacing='5' id='buslist' width='100%' style='display:none'>
   						{highFollowers}
   				</table>
   					<div class='clear'></div>	
			</div>
		</div>
		
		<div class='search_right'>
			<form action='{actionPath}' method ='get' name='QueryForm'>
			<div class='title_bar'>{merType}<label class='search_result'>{sSearchResults} <font color=orange>{sTotalNum}</font> {sSearchResultDanWei}</label></div>
			<div class='quyarea'>
   				<table cellspacing='0' id ='QueryArea' width='100%'>
   					<tr><td width='10%'><input type='button' value='{sSearchResult}' id='insertCommentBtn'></input></td></tr>
   					<tr><td class='fontGrayDeep'>{sCity}:</td><td>{chxCity}</td></tr><input name='upperLv'  value='{upperVal}' type='hidden'></input><input name='subLv'  value='{subLvVal}' type='hidden'></input><input name='btnQuery'  value='qds45^$5fgh' type='hidden'></input>
   					<tr><td class='fontGrayDeep' style='padding-bottom:0px;border-bottom:1px solid #e1e0e0;'>{sSort}:</td><td class='orderlist' style='padding-bottom:0px;'><span id='def'>{sDefault}</span><span id='hit'>{sBrowseTimes}</span><span id='comm'>{sCommentTimes}</span><span id='fans'>{sClickTimes}</span></td></tr>
  				</table>
  			</div>
   			</form>
   			<div class='content'>
   				<!-- BEGIN merList -->
   				<div id='basicinfo' style='display:{Display}'>
	   				<table cellspacing='5' border='0' class='' width='100%' id='businfo'>
		   				<tr><td rowspan='4'><div class='photo'><a href='{busLink}'><img src='{usrFace}' width='75' height='50' alt='{NickName}'></a></div></td><td width='85%' align='left' ><a href='{busLink}' style="color:#3366CC; font-size:12px;">{NickName}</a></td></tr>
		   				<tr><td align='left' ><label>{sType}: <a>{BusType}</a></label></td></tr>
		   			</table>
		   			<div class='right'>
						<table cellspacing='5' border='0' class='' width='100%' id='SocialPanel'>
						<tr>
		   				<label>{fansNum}</label> <label>{hitNum} </label> <label>{commNum}</label> 
						</tr>
						<tr><label>{sFans}</label><label>{sBrowse} </label><label>{sCommentTimes}</label>  </tr>
						</table>
	   				</div>
   				</div>
   				<!-- END merList -->
				{extraArea}
			</div>
		</div>
	</div>
	
	<div class='clear'></div>	
   	{footer}
</div>


<div id='map_prompt' style='display:none;'>
	<div id='hiddAreaContent_map' >
		<div class='title_bar'><span class='logo_sml'>{sEnlargeMap}</span><img src='{domainPath}/images/close.jpg' id='close' onClick='closeCoverPicWin()'></div>
		<iframe width='700' id='ifset' height='550' frameborder=0 scrolling="no" src="{MapUrl}?Address={BusAddress}&width=580px&height=500px"></iframe>
		<script>
			var sheight=window.screen.height;
        	if(parseInt(sheight)<800)
			{
				document.getElementById('ifset').style.height='500px';
			}
        </script>
    </div>
	<div id='bgblack'></div>
</div>

</body>
</html>
<script type="text/JavaScript" src="{domainPath}/javascript/curvycorners.src.js"></script>
<script>
var currPageRadix = 'search';
var domainPath = '{domainPath}';
var rowsCount = {rows};
$(function(){
	$.init(currPageRadix);
	$("#ranking .title_bar span").click(function(){
		var tag = $("#ranking .title_bar span").index(this);
		$('#ranking .title_bar .curr_tag').removeClass('curr_tag');
		$(this).addClass('curr_tag');
		$("#ranking table").hide();
		$("#ranking table:eq("+tag+")").show();
	});

	$(".orderlist span").click(function(){
		var tag = $(".orderlist span").index(this);
		$('.orderlist span.curr_tag').removeClass('curr_tag');
		$(this).addClass('curr_tag');
		$("#seguence").val($(this).attr('id'));
	});

	$(".orderlist span#{orderIdName}").addClass('curr_tag');

	$('#bustype_ul li').hover(
		function(){
			$('#classify').find('div[id^=subBusType-]').hide();
			var tag = $("#bustype_ul li").index(this); 
			//$("#recommand > #subBusType:eq("+tag+")").show();
			$('#subBusType-'+tag).show();
			}
			
	);

});
</script>